﻿using System;
using System.Collections.Generic;
using System.Web;
using DataAccess;
using System.Web.Services;

/// <summary>
/// Summary description for AdminBS
/// </summary>
public class AdminBS
{
    AdminDAO admin;
	public AdminBS()
	{
        admin = new AdminDAO();
		//
		// TODO: Add constructor logic here
		//
	}
    [WebMethod]
    public string LoginAdmin(string tendangnhap,string passwod)
    {
        string ten;
        ten = admin.LoginAdmin(tendangnhap,passwod);
        return ten;
    }
}